package com.china.vo;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * Created by jinyaoguang on 2016/5/11.
 */
@XStreamAlias("user")
public class User {
    String name;
    String uid;
    String portrait;
    String gender;
    String from;

    public User(String name, String uid, String portrait, String gender, String from) {
        this.name = name;
        this.uid = uid;
        this.portrait = portrait;
        this.gender = gender;
        this.from = from;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", uid='" + uid + '\'' +
                ", portrait='" + portrait + '\'' +
                ", gender='" + gender + '\'' +
                ", from='" + from + '\'' +
                '}';
    }
}
